﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Icoders.MarketTracker.Web.Lib.MasterDataDTO;

namespace Icoders.MarketTracker.Web.Lib.Response.Containers
{
    public abstract class ResponseBase
    {
        public string ErrorInfo { get; set; }
    }

    public class ResponseBasic : ResponseBase
    {
        public string Result { get; set; }
    }
   
    public class ResponseMasterDataInfo : ResponseBase
    {
        public MasterDataInfo MasterData { get; set; }
    }

    public class MasterDataInfo
    {
        public string EntityName { get; set; }
        public BaseDTO[] MasterDataItems { get; set; }
    }
    public class CreateApplicationResponse : ResponseBase
    {
        public int ApplicationId { get; set; }
        public int UserId { get; set; }
        public int ClientId { get; set; }
    }

}
